﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.Pregnancy
{
    public interface IUserPregnancyProblems
    {
        void AddPregnancyProblem(int userid, int pregnancyId, int pregnancyProblmeId, string description, DateTime clientDateTime,ref Model.NutriLeafDBEntities context);

        void RemovePregnancyProblem(int pregnancyId, ref Model.NutriLeafDBEntities context);

        void CurePregnancyProblem(int pregnancyProblemId, ref Model.NutriLeafDBEntities context);

        List<Model.UserPregnancyProblem> GetPregnancyProblems(int pregnancyId, ref Model.NutriLeafDBEntities context);

        Model.UserPregnancyProblem GetPregnancyProblemById(int id, ref Model.NutriLeafDBEntities context);

        List<Model.UserPregnancyProblem> GetProblemsByCure(int pregnancyId, bool cured, ref Model.NutriLeafDBEntities context);

    }
}